package com.example.demo.service;

import com.example.demo.entity.User;

import java.util.List;

public interface UserService {
    List<User> getUserList();

    User queryUser(User user);

    User queryUserById(Integer id);

    void addUser(User user) throws Exception;

    void updateUser(User user) throws Exception;

    String printTest();
}
